package com.xyz.entity.mapper;

import com.xyz.entity.pojo.BusinessAnnounce;
import com.xyz.entity.pojo.BusinessAnnounceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusinessAnnounceMapper {
    long countByExample(BusinessAnnounceExample example);

    int deleteByExample(BusinessAnnounceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusinessAnnounce record);

    int insertSelective(BusinessAnnounce record);

    List<BusinessAnnounce> selectByExample(BusinessAnnounceExample example);

    BusinessAnnounce selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusinessAnnounce record, @Param("example") BusinessAnnounceExample example);

    int updateByExample(@Param("record") BusinessAnnounce record, @Param("example") BusinessAnnounceExample example);

    int updateByPrimaryKeySelective(BusinessAnnounce record);

    int updateByPrimaryKey(BusinessAnnounce record);
}